package com.pjedu.springbootmybatismapper02.service;

import com.pjedu.springbootmybatismapper02.entity.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public User findById(Integer id);
    public List<User> findAllByConditions(User user);
    //该方法通过example对象的拼接方式来演示具体的使用
    public List<User> findUsersLikeUsernames(String username);
}
